Skip to content

ci: add branch check and test timeouts - #3139

Merged
pimlock merged 1 commit into
mainfrom
ci-test-timeouts/pm
Sep 2, 2026
Merged

ci: add branch check and test timeouts#3139
pimlock merged 1 commit into
mainfrom
ci-test-timeouts/pm

Conversation

@pimlock

@pimlock pimlock commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Prevent branch checks from running indefinitely and make hung Rust tests identify themselves in the CI log. This follows Branch Checks run 33643869577, where all three Rust test jobs remained active for more than two hours.

The 30-minute job cap is more than twice the slowest sampled successful job, including cold-cache runs, which completed within 14 minutes 17 seconds.

Related Issue

No issue required: this is a localized CI reliability and diagnostics change.

Changes

  • Add a 30-minute timeout to all eight substantive branch-check jobs
  • Report nextest tests as slow after 30 seconds
  • Terminate individual tests after two minutes and report them as timed out

Testing

  • mise run pre-commit passes
  • Branch Checks workflow parses as YAML and all substantive jobs have the expected timeout
  • Nextest configuration parses as TOML with the expected slow-test settings
  • git diff --check passes
  • actionlint was unavailable locally; GitHub Actions will validate the workflow

Checklist

  • Follows Conventional Commits
  • Commit is signed off for DCO
  • Architecture documentation is not applicable to this CI-only change

Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
@pimlock
pimlock added this pull request to the merge queue Sep 2, 2026
Merged via the queue into main with commit bb090f1 Sep 2, 2026
57 checks passed
@pimlock
pimlock deleted the ci-test-timeouts/pm branch September 2, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants